Synchronization of Message Stream in a Multi-tier Messaging System

ABSTRACT

A group communication service is adapted for multi-point to multi-point communication. Identical message streams are received by a tier of processing servers from a tier of sources. The processing servers deliver the message streams to a tier of destinations. The group communication service enables the processing servers to deal with newly added message streams and deleted message streams while preserving total ordering.

CROSS-REFERENCE TO RELATED APPLICATIONS

This Application shares disclosure with Application No. (STC File No. 60651 (IBM IL920060104US1)), entitled “Group Communication System Achieving Efficient Total Order and State Synchronization in a Multi-tier Environment”, whose disclosure is herein incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to communication of information across a data network. More particularly, this invention relates to improvements in message stream synchronization in a group communication service.

2. Description of the Related Art

TABLE 1 Acronyms and Abbreviations GCS Group Communication System PGM Pragmatic General Multicast QoS Quality of Service

A group communication service provides multi-point to multi-point communication by organizing processes in groups. A group is a set of communication entities, which includes processes executed by servers or computers that are members of the group.

Distributed group communication systems (GCSs) enable applications to exchange messages within groups of processes in a cluster of computers. A group communication system provides a variety of semantic guarantees for the messages being exchanged, such as reliability, synchronization, and ordering. For example, in response to an application request, a group communication system may ensure that if a message addressed to the entire group is delivered to one of the group members, the message will also be delivered to all other live and connected members of the group, so that group members can act upon received messages and remain consistent with one another.

Chockler et al. provide a useful overview of group communication systems in “Group Communication Specifications: A Comprehensive Study,” ACM Computing Surveys 33:4 (December, 2001), pages 1-43, which is herein incorporated by reference. This paper focuses on view-oriented group communication systems, which provide membership and reliable multicast services to the member processes in a group. The task of a membership service is to maintain a list of the currently active and connected processes in the group. The output of the membership service is called a “view.” The reliable multicast services deliver messages to the current view members.

Various methods are known in the art for maintaining the desired message delivery order in a group communication system. Chiu et al. describe one such ordering protocol, for example, in “Total Ordering Group Communication Protocol Based on Coordinating Sequencers for Multiple Overlapping Groups,” Journal of Parallel and Distributed Computing 65 (2005), pages 437-447, which is herein incorporated by reference. Total order delivery, as described in this paper, is characterized by requiring that messages be delivered in the same relative order to each process. The protocol proposed by the authors is sequencer-based, i.e.; sequencer sites are chosen to be responsible for ordering all multicast messages in order to achieve total order delivery.

A reliable multicast protocol is often used to send and receive messages in group communication systems. Reliable multicast protocols use message or packet streams to deliver messages. An example of such a protocol is Pragmatic General Multicast (PGM), the specification of which is presented in Network Working Group RFC 3208. Each stream is globally unique and is the basic entity over which reliability is maintained. PGM supports any number of sources within a multicast group, each fully identified by a globally unique transport session identifier.

The PGM protocol proposes a ‘late-join’ option that may help to synchronize several receivers in order that they all start processing packets of a new stream from the same packet. Late joining allows a source to indicate what packets or messages receivers may request from the source's history buffer when they first receive a stream.

Another reliable multicast transport arrangement is disclosed in commonly assigned U.S. Pat. No. 6,507,586, whose disclosure is herein incorporated by reference. A data transmission system is described, which has a single transmitter and a plurality of receivers where the transmitter sends a group of data items to a subset of receivers over a one-way channel.

Another approach to message ordering is proposed in U.S. Pat. No. 6,959,323, issued to Tzeng, et al. This document describes a protocol for synchronizing states of nodes in a distributed multicasting environment. The arrangement employs a dedicated sequencer, which is responsible solely for assigning sequence numbers to multicast messages. The sequencer does not multicast the messages. Commit servers store the ordering information for each message. Data servers store the data messages sent to the group. Messages are consolidated using checkpoint servers, and sent to clients. The arrangement purports to ensure both atomicity and total order among messages sent to a multicast group.

SUMMARY OF THE INVENTION

An embodiment of the invention provides a computer-implemented method for communication, which is carried out by receiving source streams of data messages in a plurality of processing servers from a plurality of sources, and delivering the data messages from the processing servers in respective identical delivery streams to a plurality of recipients. Corresponding data messages of the delivery streams have identical message content, and the delivery streams exit the processing servers in identically sequenced units. The method is further carried out by detecting in a leader of the processing servers a new source stream, exchanging protocol messages only between the leader and others of the processing servers in order to determine a common extreme message in the new source stream that can be processed by all of the processing servers, and initiating inclusion of the new source stream at the common extreme message in the delivery streams.

An embodiment of the invention provides a computer-implemented method for communication, which is carried out by receiving source message streams of data messages in a plurality of processing servers from a plurality of sources, and delivering the data messages from the processing servers in respective identical delivery streams to a plurality of recipients. Corresponding data messages of the delivery streams have identical message content, and the delivery streams exit the processing servers in identically sequenced units. The method is further carried out by detecting in the leader a discontinued source stream, exchanging protocol messages only between the leader and others of the processing servers in order to determine a common extreme message in the discontinued source stream that can be processed by all of the processing servers, and initiating discontinuation of the discontinued source stream at the common extreme message in the delivery streams.

Other embodiments of the invention provide computer software product and apparatus for carrying out the above-described methods.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the present invention, reference is made to the detailed description of the invention, by way of example, which is to be read in conjunction with the following drawings, wherein like elements are given like reference numerals, and wherein:

FIG. 1 is a block diagram of an exemplary multi-tiered cluster of nodes connected in a network that is operative in accordance with an embodiment of the present invention;

FIG. 2 is a flow chart illustrating a method of addition of a new message stream by a group communication service in accordance with a disclosed embodiment of the invention; and

FIG. 3 is a flow chart illustrating a method of removal of an existing message stream by a group communication service in accordance with a disclosed embodiment of the invention.

DETAILED DESCRIPTION OF THE INVENTION

In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent to one skilled in the art, however, that the present invention may be practiced without these specific details. In other instances, well-known circuits, control logic, and the details of computer program instructions for conventional algorithms and processes have not been shown in detail in order not to obscure the present invention unnecessarily.

Software programming code, which embodies aspects of the present invention, is typically maintained in permanent storage, such as a computer readable medium. In a client/server environment, such software programming code may be stored on a client or a server. The software programming code may be embodied on any of a variety of known media for use with a data processing system, such as a diskette, or hard drive, or CD-ROM. The code may be distributed on such media, or may be distributed to users from the memory or storage of one computer system over a network of some type to other computer systems for use by users of such other systems.

Overview.

Turning now to the drawings, reference is initially made to FIG. 1, which is a block diagram of an exemplary multi-tiered cluster 10 of nodes connected by a network 12, in accordance with an embodiment of the present invention. Each node comprises a computer processor and a communications adapter linking the node to the network. Different nodes may comprise different types of computers or servers, which may also have different operating systems.

The cluster 10 includes a sources tier 14, having any number of sources, represented in FIG. 1 by sources 16, 18. A servers tier 20 comprises two or more processing servers, represented in FIG. 2 by servers 22, 24, which receive messages from nodes of the sources tier 14. Multiple servers are desirable in the servers tier 20 for reasons of fault tolerance and availability. The cluster 10 has a destinations tier 26 that has any number of destinations 28. The destinations 28 process the messages that are sent to them by the servers 22, 24. In general, the sources 16, 18 are unaware of the destinations 28. Furthermore, in different embodiments of the cluster 10, the servers comprising the servers tier 20 may have different capabilities, e.g., processing speed and buffer capacity.

The sources 16, 18 transmit electronic messages as message stream 30 m₁ . . . m_(n) and message stream 32 n₁ . . . n_(n) via the network 12 to the servers 22, 24 using a known reliable multicast transport protocol, which can be the aforementioned PGM protocol.

In general, the sources 16, 18 are not time-synchronized with one another or with the servers 22, 24, and different streams are received asynchronously by the servers tier 20. The messages of the stream are associated with sequence numbers that change monotonically. A “maximum sequence number” of a stream of messages, as used herein, is associated with the latest message in a segment of the stream. A “minimum sequence number” is associated with the earliest message. The terms maximum sequence number and minimum sequence number are used arbitrarily herein to distinguish relatively late arriving messages from early arriving messages, but otherwise have no meanings with respect to the actual sequencing scheme used in the message streams.

While the received message sequence order of each stream at the servers 22, 24 is guaranteed by the reliable multicast transport protocol, due to network latencies, the servers 22, 24 are not guaranteed to receive any given message at the same time from any of the streams. For example, the servers 22, 24 have received the message streams 30, 32 in different message orders 34, 36, respectively.

Nevertheless, from the perspective of the destinations 28, the servers 22, 24 are required to be interchangeable, in that their message transmission sequences are delivered in identical message orders 38.

In general, the ordering properties of the group communication service restrict the order in which messages are delivered, and the reliability properties of the reliable multicast protocol extend the ordering properties by prohibiting gaps in the sequence of messages.

There is a total message ordering, in the sense that messages, or messages derived from incoming messages sent by the sources 16, 18, for example, using messaging middleware, are processed by each of the servers 22, 24 in exactly the same order. As a result of processing by the servers 22, 24, any number of new messages may be generated and sent to the destinations 28. At the destinations 28, total ordering is not required in order to implement the principals of the invention.

According to aspects of the invention, total message ordering at the servers 22, 24 is achieved using a group communication service 40 into which the servers 22, 24 are organized, and which forms an underlying membership layer.

Notably, the group communication service 40 excludes any server outside the servers tier 20. The servers 22, 24 are synchronized to process all the messages sent by the sources 16, 18 in the same way in order to maintain a total message order. In order to maintain message synchronization the servers 22, 24 need to intercommunicate efficiently. Organization and operation of the group communication service 40 can be mediated, for example, by a group services daemon that executes in one or more of the servers 22, 24. The daemon may execute or facilitate various communication and synchronization tasks among the servers 22, 24 that are disclosed in further detail hereinbelow.

Messages may be combined into transport packets by the sources 16, 18. Thus, the servers 22, 24 synchronize based on transport packet sequences rather than individual message sequences, under direction of the leader in order to achieve total ordering. Processing of such packets streams is performed as if in the same manner as individual message streams, as described below.

Facilities provided by the group communication service include maintenance of a consistent list of group members, group leader election, and message delivery with specific quality of service guarantees. Messages transmitted among the servers 22, 24 via the group communication service are referred to herein as “protocol messages”. Their format and communications protocol is not necessarily the same as the reliable multicast protocol used to receive and deliver message streams between the group communication service members and the sources and destinations, which are external to the group communication service. Every so often, the group leader determines the sequence in which incoming messages should be handled, and transmits this information to all other active servers in an “ordering information” protocol message. After the ordering information protocol message has been acknowledged by return protocol messages from the other servers in the servers tier 20, all the servers 22, 24 of the group communication service 40 process the data messages, which were covered by the ordering information message as directed. A unified time stamp mechanism is provided in the group communication service 40 that ensures that messages sent from each of the servers 22, 24 to their respective destinations 28 based on the same incoming message have exactly the same time stamp.

Group Communication Service—Synchronization.

In systems like the cluster 10, when a source creates a new message stream and starts sending messages, the servers at the next tier may detect and start to receive the message stream at different messages in the stream. Similarly, when the source discontinues a message stream, the servers at the next tier may have received a different set of messages.

In conventional group communication service implementations, all nodes, including source and destination tiers, are treated as part of the group. An addition or deletion of a message stream normally triggers a view change intended to synchronize all group members on the new state. The relatively high overhead of network traffic is a disadvantage of such an arrangement. According to an aspect of the invention, the group communication service 40 is limited to the servers tier 20, and excludes the nodes of the sources tier 14 and the destinations tier 26. As a result, network traffic is considerably reduced, and scalability and latency are improved.

In the group communication service 40, one of the servers 22, 24 acts as a leader. In addition to its principal task of message transmission, the leader is assigned an additional task of maintaining synchronization of message stream addition and deletion operations. The leader is, of course, burdened with many other group communication service tasks that are outside the scope of this disclosure, e.g., membership services, and maintaining general state synchronization among the servers 22, 24. These may be dealt with according to the teachings of the above-noted Application No. (STC File No. 60651 (IL9-2006-0104)).

In dealing with new and discontinued message streams, protocol messages are exchanged between the leader and the other servers. Protocol messages are small. In the example of Table 2, the payload is 13 bytes, although this is increased somewhat by a group communication header and network overhead (not shown).

TABLE 2 Field Bytes Message Type 1 Stream Identifier 8 Packet (message) Sequence No. 4

In one embodiment, for reasons of performance, such protocol messages are sent using a QoS setting of real synchrony, which is provided by the underlying group communication service. When real synchrony is in force, the sender of a message is blocked until the Group Communication System ensures that all the receivers have acknowledged receipt the message. Alternatively, the sender may be blocked until a predetermined number of acknowledgement signals (ACKs) have been received. The use of real synchrony is advantageous, as it provides the highest guarantee that a message has been delivered to all receivers. Alternatively, other QoS methods can be used.

When the leader detects a new message stream from the sources tier 14, it starts a communications session with each of the other servers 22, 24, according to a predefined three-way handshake protocol. After completion of the session, all the servers 22, 24 are synchronized such that they start processing messages from the new stream at exactly the same message in the stream. Similarly, when the leader detects that a stream is no longer active, it starts another three-way session with the other servers 22, 24, according to another predefined protocol. After completion of the other session, all the servers 22, 24 process residual messages from the discontinued stream up to exactly the same message in the stream. In both cases, messages in the stream not processed are discarded in order to free memory buffers. The first message to be processed in a new stream and the last message to be processed in a discontinued stream is a common extreme message that is able to be handled by all of the servers 22, 24, including the leader. It should be noted that a view change is not permitted during a synchronization operation in response to a new or deleted message stream. If a view change becomes indicated during stream addition or deletion, it may be deferred until after completion of the synchronziation operation. However, if it cannot be deferred, the synchronzation process is aborded and reattempted on the new view

In the description of the following methods, process steps are shown in particular linear sequences for clarity of presentation. However, these sequences are exemplary. In different embodiments, many of them may be performed in parallel, asynchronously, or in different orders.

Stream Addition.

Reference is now made to FIG. 2, which is a flow chart illustrating a method of addition of a new message stream by a group communication service in accordance with a disclosed embodiment of the invention. The group communication service is limited to nodes of a processing tier, i.e., the servers tier 20 in FIG. 1. It is assumed that a leader has been elected and the group communication service is operating.

At initial step 42, the group communication service leader detects a new message stream, that needs to be added to the messages being processed and delivered to the destinations. It will be recalled that the constitution and order of transmission of the individual streams being sent by the servers tier must all be identical.

Next, at step 44, the leader inspects the new stream, and determines the first stream message (M1), that it can process.

Next, at step 46, a protocol message (NEW_STREAM_DETECTED) is transmitted to all other servers of the group communication service. This protocol message includes an identifier of the new stream, and a sequence number that identifies the stream message Ml to the other processing servers. In some embodiments, the sequence number can be omitted in the NEW_STREAM_DETECTED protocol message. However, it is normally included, as it has minimal cost, and in some circumstances, could facilitate optimization in the recipient. For example, a server that received messages smaller than M1 may discard them immediately, and not await completion of the synchronization protocol.

As noted above, this protocol message and the other protocol messages described below have assured delivery by the QoS of the group communication service. Furthermore, none of the protocol messages are directed to, nor acknowledged by servers outside the processing tier.

Next, at step 48, the leader receives a protocol reply message (NEW_STREAM_REPLY) from one of the other servers of the group communication service. The reply message includes an indication whether the new stream was detected by the replying server. If so, the message also includes the sequence number of the new stream at which processing by the replying server can begin.

Control now proceeds to decision step 50, where it is determined if the message received in the current iteration of step 48 contains an error code, indicating that the new stream was not detected.

If the determination at decision step 50 is affirmative, then control proceeds to final step 52. The leader aborts the current synchronization operation. A protocol error message is transmitted to the other servers of the group communication service, directing them to also abort the synchronization operation. Once the synchronization operation has been aborted, each server may discard messages of the new stream in order to free buffers. This feature avoids depletion of buffers and buffer overruns, which would risk disruption to other ongoing existing server communications. The leader may reinitiate the synchronization operation on the new stream at any time by reverting to step 44 or step 46.

If the determination at decision step 50 is negative, then the synchronization operation is proceeding normally. Control now proceeds to decision step 54, where it is determined if more replies from the other servers of the group communication service remain to be evaluated. If the determination at decision step 54 is affirmative, then control returns to step 48. Many non-serial implementations of the loop defined by step 48, and decision steps 50, 54 will occur to those skilled in the art. For example, all the servers may be polled concurrently.

If the determination at decision step 54 is negative, then control proceeds to step 56. All the replies were valid. Now the leader finds the maximum sequence number (M2) that was sent in the reply messages.

Next, at final step 58, the leader transmits a protocol message (NEW_STREAM_ACK) indicating that processing on the new stream may begin. The stream identifier and the sequence number M2 are incorporated in this message. When the other servers of the group communication service receive the message all of them, including the leader, begin delivering messages from the new stream, beginning at the sequence number M2.

Stream Deletion.

Reference is now made to FIG. 3, which is a flow chart illustrating a method of removal of an existing message stream by a group communication service in accordance with a disclosed embodiment of the invention. The procedure for synchronizing stream deletion is similar in many respects to that for stream addition. At initial step 60, the leader detects the loss of an existing message stream. Typically, this is done using known heartbeat mechanisms. Additionally or alternatively, other known failure detection mechanisms can be applied. For example hardware detection failure mechanisms, or detection of a broken connection.

Next, at step 62, the leader inspects the undelivered portion of the deleted stream and determines that it can process messages up to a particular message (M3).

Next, at step 64, the leader sends a protocol message (DELETE_STREAM_DETECTED) to the other servers of the group communication service, indicating that a message stream has been deleted. This protocol message includes an identifier of the deleted stream, and a sequence number that identifies the message M3 to the other servers.

Each server that receives a DELETE_STREAM_DETECTED message must return a protocol message (DELETE_STREAM_REPLY) to the leader. As noted above, detection of server failure at this point is provided by the group communication service. Should it occur at this point, synchronization is aborted, and can be subsequently reattempted. Differentiation of a server that is slow to respond from one that has failed can sometimes be difficult. However, as the servers continue processing messages during the synchronization process, in general no delay is introduced by a slow server.

Next, at step 66 a DELETE_STREAM REPLY message is received from all the servers of the group communication service. This message includes the stream identifier, and a sequence number that identifies the last message of the deleted stream that can be processed by the sender of the DELETE_STREAM_REPLY message. The considerations of implementing the loop in FIG. 3 apply equally to the loop defined by step 66 and decision step 68.

Control now proceeds to decision step 68, where it is determined if replies are awaited from more servers of the group communication service.

If the determination at decision step 68 is affirmative, then control returns to decision step 66.

If the determination at decision step 68 is negative, then the leader has received a reply from all of the servers of the group communication service. Control proceeds to step 72. The leader inspects the DELETE_STREAM_REPLY messages and determines the minimum sequence number (M4) that can be processed by the servers of the group communication service.

At final step 74, the leader transmits a protocol message (DELETE_STREAM_ACK) to the other servers of the group communication service. This message includes the stream identifier and the sequence number M4. Each recipient server continues to deliver messages of the deleted stream, including the message corresponding to the sequence number M4 but no further. The server then discards unsent messages, and deletes the stream from its list of active message streams.

In some embodiments, an additional phase of final step 74 is included, in which missing messages are distributed to all servers of the group communication service. This assures that all the servers process the largest possible set of messages from the deleted stream. Alternatively, the missing messages may be retained by the servers rather than discarded. They can be delivered to destinations that request them. Requesting missing content is a feature offered by many known reliable multicast protocols.

EXAMPLE

A prototype system has been tested using three processing servers in a GCS group. A TCP protocol was used for protocol messages. It has been found that a synchronization operation can be accomplished in less than 100 ms. Analysis of packet receipt confirms preservation of total order.

It will be appreciated by persons skilled in the art that the present invention is not limited to what has been particularly shown and described hereinabove. Rather, the scope of the present invention includes both combinations and subcombinations of the various features described hereinabove, as well as variations and modifications thereof that are not in the prior art, which would occur to persons skilled in the art upon reading the foregoing description. 

1. A computer-implemented method for communication, comprising the steps of: receiving source message streams of data messages in a plurality of processing servers from a plurality of sources, said processing servers having a leader, said data messages having sequence identifiers; delivering said data messages from said processing servers in respective identical delivery streams to a plurality of recipients, corresponding data messages of said delivery streams having identical message content and said delivery streams exiting said processing servers in identically sequenced units; detecting in said leader a new source stream among said source message streams; exchanging protocol messages only between said leader and others of said processing servers in order to determine a common extreme message in said new source stream that can be processed by all of said processing servers; and initiating inclusion of said new source stream at said common extreme message in said delivery streams.
 2. The method according to claim 1, further comprising the step of identifying in said leader a first extreme message of said new source stream that said leader can process, and wherein said protocol messages comprise respective second extreme messages of said new source stream that senders thereof can process, wherein a sequence identifier of said common extreme message is maximal among said first extreme message and said second extreme messages.
 3. The method according to claim 2, further comprising the step of including in said protocol messages an identifier of said first extreme message.
 4. The method according to claim 1, wherein said step of exchanging protocol messages comprises: transmitting from said leader a first protocol message to others of said processing servers indicating that said leader has detected said new source stream; receiving in said leader respective acknowledgement messages from said others of said processing servers, said acknowledgement messages comprising identifiers of respective second extreme messages of said new source stream that senders thereof are able to process; transmitting from said leader a second protocol message comprising an identifier of said common extreme message, wherein said first protocol message, said acknowledgement messages, and said second protocol message are transmitted according a communications protocol that guarantees a time order and a sequence order of message receipt by receivers thereof.
 5. The method according to claim 4, wherein said step of exchanging protocol messages comprises transmitting from said leader an ordering information protocol message that determines a sequence of said data messages to deliver in said delivery streams.
 6. The method according to claim 1, further comprising the step of time-stamping said corresponding data messages of said delivery streams with identical time stamps.
 7. The method according to claim 1, wherein delivering said data messages comprises the steps of: assembling in each of said processing servers a sequence of packets, each of said packets containing a plurality of said data messages and having a packet sequence identifier; and transmitting said packets as said identically sequenced units of said delivery streams.
 8. A computer software product for communication including a tangible computer-readable medium in which computer program instructions are stored, which instructions, when read by a computer, cause the computer to: receive source message streams of data messages in a plurality of processing servers from a plurality of sources, said processing servers having a leader, said data messages having sequence identifiers; deliver said data messages from said processing servers in respective identical delivery streams to a plurality of recipients, corresponding data messages of said delivery streams having identical message content and said delivery streams exiting said processing servers as identically sequenced units; detect in said leader a new source stream among said source message streams; exchange protocol messages only between said leader and others of said processing servers in order to determine a common extreme message in said new source stream that can be processed by all of said processing servers; and initiate inclusion of said new source stream at said common extreme message in said delivery streams.
 9. The computer software product according to claim 8, further comprising the steps of: identifying in said leader a first extreme message of said new source stream that said leader can process, and wherein said protocol messages comprise respective second extreme messages of said new source stream that senders thereof can process, and wherein a sequence identifier of said common extreme message is maximal among said first extreme message and said second extreme messages.
 10. The computer software product according to claim 9, wherein said protocol messages include an identifier of said first extreme message.
 11. The computer software product according to claim 8, wherein an exchange of said protocol messages comprises: a first transmission from said leader of a first protocol message to others of said processing servers indicating that said leader has detected said new source stream; a reception in said leader of respective acknowledgement messages from said others of said processing servers, said acknowledgement messages comprising identifiers of respective second extreme messages of said new source stream that senders thereof is able to process; and a second transmission from said leader of a second protocol message comprising an identifier of said common extreme message, wherein said first protocol message, said acknowledgement messages, and said second protocol message are transmitted according a communications protocol that guarantees a time order and a sequence order of message receipt by receivers thereof.
 12. The computer software product according to claim 8, wherein an exchange of said protocol messages comprises a transmission from said leader an ordering information protocol message that determines a sequence of said data messages to deliver in said delivery streams.
 13. The computer software product according to claim 8, wherein said computer is further instructed to time-stamp said corresponding data messages of said delivery streams with identical time stamps.
 14. The computer software product according to claim 8, wherein said instructions cause said processing servers to: assemble in each of said processing servers a sequence of packets, each of said packets containing a plurality of said data messages and having a packet sequence identifier; and transmit said packets as said identically sequenced units of said delivery streams.
 15. A communications apparatus, comprising: a plurality of processing servers, a memory accessible by said processing servers, computer program instructions being stored in said memory, wherein said instructions cause said processing servers coordinately to: designate one of said processing servers as a leader; receive source message streams of data messages in said processing servers from a plurality of sources, said data messages having sequence identifiers; deliver said data messages from said processing servers in respective identical delivery streams to a plurality of recipients, corresponding data messages of said delivery streams having identical message content and said delivery streams exiting said processing servers as identically sequenced units; detect in said leader a new source stream among said source message streams; exchange protocol messages only between said leader and others of said processing servers in order to determine a common extreme message in said new source stream that can be processed by all of said processing servers; and initiate inclusion of said new source stream at said common extreme message in said delivery streams.
 16. The communications apparatus according to claim 15, wherein an exchange of said protocol messages comprises: a first transmission from said leader a first protocol message to others of said processing servers indicating that said leader has detected said new source stream; a reception in said leader of respective acknowledgement messages from said others of said processing servers, said acknowledgement messages comprising an identifier of a second extreme message of said new source stream that a sender thereof is able to process; and a second transmission from said leader of a second protocol message comprising an identifier of said common extreme message, wherein said first protocol message, said acknowledgement messages, and said second protocol message are transmitted according a communications protocol that guarantees a time order and a sequence order of message receipt by receivers thereof.
 17. The communications apparatus according to claim 15, wherein said instructions cause said processing servers to: assemble in each of said processing servers a sequence of packets, each of said packets containing a plurality of said data messages and having a packet sequence identifier; and transmit said packets as said identically sequenced units of said delivery streams.
 18. A computer-implemented method for communication, comprising the steps of: receiving source message streams of data messages in a plurality of processing servers from a plurality of sources, said processing servers having a leader, said data messages having sequence identifiers; delivering said data messages from said processing servers in respective identical delivery streams to a plurality of recipients, corresponding data messages of said delivery streams having identical message content and said delivery streams comprising identically sequenced units; detecting in said leader a discontinued source stream among said source message streams; exchanging protocol messages only between said leader and others of said processing servers in order to determine a common extreme message in said discontinued source stream that can be processed by all of said processing servers; and initiating discontinuation of said discontinued source stream at said common extreme message in said delivery streams.
 19. The method according to claim 18, further comprising the steps of: identifying in said leader a first extreme message of said discontinued source stream that said leader can process, and wherein said protocol messages comprise respective second extreme messages of said discontinued source stream that senders thereof can process, and wherein a sequence identifier of said common extreme message is minimal among said first extreme message and said second extreme messages.
 20. The method according to claim 18, further comprising the steps of: detecting in said leader a new source stream among said source message streams; exchanging second protocol messages only between said leader and others of said processing servers in order to determine a second common extreme message in said new source stream that can be processed by all of said processing servers; and initiating inclusion of said new source stream at said second common extreme message in said delivery streams. 